import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import permissions from './modules/permissions'
import getters from './getters'
import layout from "./modules/layout"
import tagsView from "./modules/tagsView"
import patch from "./modules/patch"

Vue.use(Vuex)

const store = new Vuex.Store({
    modules: {
        user,
        permissions,
        layout,
        tagsView,
        patch
    },
    getters
})

export default store